package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 用户通告阅读标记表
 *
 * @author WeiZiDong
 */
@Table(name = "`sys_announcement_send`")
@Data
@ApiModel("用户通告阅读标记表")
public class SysAnnouncementSend implements Serializable {
    
    @Column(name = "`id`")
    @ApiModelProperty(value = "Id", example = "String")
    private String id;
    @Column(name = "`annt_id`")
    @ApiModelProperty(value = "通告ID", example = "String")
    private String anntId;
    @Column(name = "`user_id`")
    @ApiModelProperty(value = "用户id", example = "String")
    private String userId;
    @Column(name = "`read_flag`")
    @ApiModelProperty(value = "阅读状态（0未读，1已读）", example = "String")
    private String readFlag;
    @Column(name = "`read_time`")
    @ApiModelProperty(value = "阅读时间", example = "2019-05-05 17:55:31")
    private Date readTime;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人", example = "String")
    private String createBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建时间", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "更新人", example = "String")
    private String updateBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "更新时间", example = "2019-05-05 17:55:31")
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}
